set(INC_DIR ./../inc)
set(SRC_DIR ./../src)

find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)

include_directories(${INC_DIR})
#include_directories(/usr/include/eigen3)
#include_directories(/opt/ros/kinetic/include/opencv-3.3.1-dev)
include_directories(${EIGEN3_INCLUDE_DIRS})
include_directories(${OpenCV_INCLUDE_DIRS})
file(GLOB_RECURSE SOURCES "${SRC_DIR}/*.cpp")

add_executable(${PROJECT_NAME} ./main.cpp ${SOURCES})
target_link_libraries(${PROJECT_NAME}
    ${OpenCV_LIBS}
)